package com.wenlong.agricultural.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 苏文龙
 * @version 1.0
 */
@TableName("commodity_info")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommodityInfo {
    @TableId
    private Long id;
    @TableField("commod_name")
    private String commodityName;
    private String description;
    @TableField("old_sale")
    private Double oldSale;
    @TableField("cur_sale")
    private Double curSale;
    private Integer repertory;
}
